package 抽象类;

//2.矩形类
public  class Rect extends Shape {
    @Override
    public void draw() {
        System.out.println("画一个矩形");
    }
}
